package com.choudou5.solr.utils.oauth;

import java.io.Serializable;

/**
 * @name 认证返回
 * @author choudou5
 * @date 2018-7-16
 */
public class OauthRespBean implements Serializable {

    private Integer statusCode = 200;
    private String message;
    private String userName;

    private String siteName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getStatusCode() {
        if(statusCode == null)
            statusCode = 500;
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }
}
